package com.peking.donations.plugins.pay.wx.utils;

/**
 * Created by YGR on 16/3/3.
 */
public class WxpayException extends Exception {

    /**
     *
     */
    private static final long serialVersionUID = 5305264686660945067L;

    private String code;

    public WxpayException(String msg) {
        super(msg);
    }

    public WxpayException(String code, String msg) {
        super(msg);
        this.code = code;
    }

    public WxpayException(String msg, Throwable e) {
        super(msg, e);
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
